<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head lang="en">

</head>
<body>

<div class="container">
    <div th:fragment="header">
        <nav class="navbar navbar-default">
            <div class="container-fluid">
                <div class="navbar-header">
                    <a class="navbar-brand" href="#" th:text="#{web.menu.home}" th:href="@{/}">Home</a>
                    <ul class="nav navbar-nav">
                        <li class="dropdown">
                            <a class="dropdown-toggle" data-toggle="dropdown" href="#" th:text="#{web.menu.user.mng}" th:href="@{/users}">
                                Users <span class="caret"></span>
                            </a>
                            <ul class="dropdown-menu">
                                <li><a href="#" th:text="#{web.menu.user.create}" th:href="@{/user/new}">Create User</a></li>
                            </ul>
                        </li>
                        <li class="dropdown">
                            <a class="dropdown-toggle" data-toggle="dropdown" href="#" th:text="#{web.menu.product.mng}">
                               Products  <span class="caret"></span>
                            </a>
                            <ul class="dropdown-menu">
                                <li><a href="#" th:text="#{web.menu.product.list}" th:href="@{/products}">Products List</a></li>
                                <li><a href="#" th:text="#{web.menu.product.create}" th:href="@{/product/new}">Create Product</a></li>
                            </ul>
                        </li>
                        <li class="dropdown">
                            <a class="dropdown-toggle" data-toggle="dropdown" href="#" th:text="#{web.menu.customer.mng}">
                                Customers  <span class="caret"></span>
                            </a>
                            <ul class="dropdown-menu">
                                <li><a href="#" th:text="#{web.menu.customer.list}" th:href="@{/customers}">Customers List</a></li>
                                <li><a href="#" th:text="#{web.menu.customer.create}" th:href="@{/customer/new}">Create Customer</a></li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
        </nav>

        <div class="jumbotron">
            <div class="row text-center">
                <div class="">
                    <h2>xProシステム</h2>

                    <h3>Spring Boot Web App</h3>
                </div>
            </div>
            <div class="row text-center">
                <img src="../../static/images/baner.jpg" width="240"
                     th:src="@{/images/baner.jpg}"/>
            </div>
        </div>
    </div>
</div>
</body>
</html>